﻿/*  Kiva.NET
 *  Copyright (c) 2009 Arun Kumar 
 *  middleforce@gmail.com
 */
using System.Collections.Generic;

namespace KivaLibrary
{
    public class KivaPartner
    {
        internal KivaPartner() { }
        int mID;
        public int ID
        {
            get { return mID; }
            set { mID = value; }
        }
        string mName;
        public string Name
        {
            get { return mName; }
            set { mName = value; }
        }
        string mStatus;
        public string Status
        {
            get { return mStatus; }
            set { mStatus = value; }
        }
        string mRating;
        public string Rating
        {
            get { return mRating; }
            set { mRating = value; }
        }
        KivaImage mImage=new KivaImage();
        public KivaImage Image
        {
            get { return mImage; }
            set { mImage = value; }
        }
        string mStartDate;
        public string StartDate
        {
            get { return mStartDate; }
            set { mStartDate = value; }
        }
        public List<KivaCountry> Countries=new List<KivaCountry>();
        double mDelinquencyRate;
        public double DelinquencyRate
        {
            get { return mDelinquencyRate; }
            set { mDelinquencyRate = value; }
        }
        double mDefaultRate;
        public double DefaultRate
        {
            get { return mDefaultRate; }
            set { mDefaultRate = value; }
        }
        double mTotalAmountRaised;
        public double TotalAmountRaised
        {
            get { return mTotalAmountRaised; }
            set { mTotalAmountRaised = value; }
        }
        int mLoansPosted;
        public int LoansPosted
        {
            get { return mLoansPosted; }
            set { mLoansPosted = value; }
        }
    }
}
